<table width="100%" cellpadding="0" cellspacing="0" border="0">
	<thead>
		<tr>
			<th>ID</th>
			<th>Nombre (Alias)</th>
			<th>Identificador</th>
			<th>Tabla BD</th>
		</tr>
	</thead>
	
	<tbody>
		<?php if ( $this->resources->getCurrentItemCount() < 1 ) : ?>
		<tr>
			<td colspan="4"><div class="dg-no-data">No se han agregado recursos al administrador.</div></td>
		</tr>
		<?php else : ?>
		<?php foreach ( $this->resources as $item ) : ?>
		<tr>
			<td><?php echo $item->id; ?></td>
			<td><a href="<?php echo $this->url(array('action'=>'edit', 'controller'=>'resource', 'id'=>$item->id), null, true); ?>" title="Editar este recurso"><?php echo $item->alias; ?></a></td>
			<td>{TODO: ID TEXTO}</td>
			<td><?php echo $item->table_name; ?></td>
		</tr>
		<?php endforeach; ?>
		<?php endif; ?>
	</tbody>
	
	<tfoot>
		<tr>
			<td colspan="4">{TODO: LIMIT}</td>
		</tr>
	</tfoot>
</table>